fixed bug where leaflet is not able to find marker directory