changed to browserfy for commonjs style dependancy management