A better require function for NodeJS