Add jshint jenkins test. Clean up unused code.