Fix Array.map call for IE compatibility

Tested with IE9.
Merge pull request #3 from yang/patch-1

Fix Array.map call for IE compatibility