- fixed jshint errors.