js-lint fixes
js lint tidying up
gpx map