tic tac toe in node.js