Changed markers.js format, fixed some small things in Leaflet template.
Fixed a small bug when copying not existing files.