Create Empty Object Array Javascript W3schools Promises Made