fix text.js noderequire not being overridable outside of bundle