Replaced AMD example with node.js