HTML5 game module distribution for browserify
npm run bundle
Serve index.html with browserified bundle (use this only for developmnet)
npm run beefy
In your index.html:
boo = require('./poltergeist.js');
You are set!