Fix error due to missing module.require in a browserify-compiled app

When compiled with browserify, `module`, `exports` and `require` are
present but `module.require` is not.