changes for jslint error