Use node's require for node modules.

Uses the environment's require function (node's require) to load
node modules.  Uses the injected require function (could be node
or AMD) to load UMD modules.
Adding unscriptable as an offical contributor