Change require to be more along node.js