Turn Map Into Array Javascript W3schools