Browserify WIP

This is a work in progress pull request. Please review only. This pr will change.