Fix for CommonJS/Browserify

I'm not sure whether this breaks any other CJS implementation, but the only one you're likely to have to worry about is Browserify.