fixing jslint issues.