Node JS tic tac toe