base invites

DONE
=====
* split javascript files
* add browserify preprocessor

TODO:
===
* generate member code
* validate invite code