Migrated mockup to node.js