better browserify and npm support
holy god damn all the tests pass!