Async Missing Before Statement Javascript Array Functions