Added map.js for managing the map-like inputs on the page.