Javascript Return From Async Meaning