jslint, cleaning, reformatting

suppress warnings from jslint (new Number, missing ';', useless ';'
better indentation