More jshint rules and cleanup.