Fixes nodeRequire nodejs usage from external bundle