Better example of await for ajax