a better 'require' module for nodejs