first pass
Merge pull request #162 from adamrenklint/browserify

CommonJS, and later Browserify