math app in node, express, socket