a patch for node.js which avoids loading the same module more than once