Javascript Wait For Two Async Functions Return