[FEATURE] Convert to browserify.
[FEATURE] Refactor everything to use common js modules.