Use npm/browserify moar

Works on my machine.

The main.js ickiness is still necessary unfortunately, as the promises-aplus-tests were not written in a very browserifiable way. I guess I could try to fix that?