Updated map.js to work with custom pins