An interactive workout counter in node.js