changes for jslint compilation