fix text.js noderequire not being overridable outside of bundle

fix text.js noderequire not being overridable outside of bundle
Merge pull request #122 from cedricpinson/bugfix/requirenoderequire

fix text.js noderequire not being overridable outside of bundle