Fix issue with core/request running in browsers