clean + jslint corrections