For local dev, set the following environment variables:
The APIURL can also be set to override the default of http://wavefarm.org/api.
Before running npm install get dependencies with npm install -g browserify envify uglifyify.
npm install
npm install -g browserify envify uglifyify