jslint corrections and clean