Scope redefine of require for browserify, so webpack is happy

Fixes #14