Add require patch for node.js