Cleaned up issues jshint identified.