Inject node.js symbols into window.

Script loaded by require should run in the window context.