Many jshint cleanups to keep various browsers happy