Use jshint, clean up tests