Fixed issue #40
Also formatting map.js according to coding standards
Merge branch 'master' of https://github.com/IFGI-Geosoftware2-GroupA/envirocar-analyser