New Mapbox map template; moved all JS into frontend

This is a refactoring of the frontend code. Now all the javascript is being compiled using grunt and we no longer use CDNs in the original leaflet map view.