Fixed jshint issues.