tweaked distro creation

note that the resulting Browserify bundle doesn't actually expose any
functionality yet; it's all self-contained and hidden away in private
scopes - need to research how to do this properly