Customize nodejs version for browsers

Hi,

This MR brings support for other bundling modules, not only `browserify`:
 - `global` switched to `window`,
 - `window` and `process` variables now are covered by `typeof`.