jshint errors fixed.