added erb to map.js