Cleanup so that build and tests work.
Switched over to Browserify.