some jshint cleanup