Javascript Call Async Function From Two