fix whitespace, add jshint watch
add a bunch of tests, add a setup method