better dirty scope test
cleanup
pointless code golf
cruft
Added karma and package.json
set up travis