jslint corrections