Fixes `map` implementation for IE8+

`map` is not used for side-affects, you have to return an array of the results of calling fn for each element in the input array (i.e. `map :: (a -> b) -> [a] -> [b]`).