Better way to delegate the build to require-js/text, fixes #157
make register.js loadable on NodeJS, fixes #148