Fixed various jshint issues.