Format code and delete duplicate variables in envirocar-analyser.js
@jphwwu: code formatting!!!