fixed bug with missing leaflet js