Popular Search : Javascript While Loop Await