for of loop javascript async await