Browserify 

Cleaned up version of #273