Added Array.map() polyfill to the ArcGIS extension