math application using node, express, socket