Fix to make it work on IE7/8

Array.prototype.map isn't implemented in shitty IE