jslint fixed errors