Support node-like module loaders

Also, do not pollute the global namespace in Node module loaders.