Polyfill Map() for Chrome.