Fixes global polluting window making it impossible to detect nodejs env