Tooltip tests: jshint cleanup