Interface Async Function Javascript