fixing jshint issues.