Async Missing Before Statement Javascript Code