Map - Part 2 of Functional Programming in JavaScript