Attempt to get node.js require to work in browser context