Web game manager in node.js