Promise.every does not take an array