Flask and Javascript network tic tac toe!