Move javascript in haml files to a separate javascript file. Add map.html.haml