converted to browserify
npm install -g browserify
npm install
browserify app.js -o bundle.js