Rewrote build system to use browserify