A Javascript tic tac toe game