javascript array filter async await