browser-side require() the node way (+ rough bugfix for https://github.com/browserify/browserify/issues/968