jslint error corrections