Fixes mild jshint issues, trailing whitespace, and Leaflet indentation style.