Proxyquire in Node and Proxyquireify in the browser with no code changes