index javascript leaflet stuff.