Auto Execute Async Function Javascript