Fixed bug when loading leaflet dist images.
Added javascript grails configuration variables.