Issue #27. Finished bulk of browserify work. Partial modularization complete; all unit tests pass.