Javascript Map Over Empty Array C