more jslint errors fixed