Async Missing Before Statement Javascript Array Methods