Fix Array.map call for IE compatibility

Tested with IE9.