upgraded leaflet, better js storage