finish js tic tac toe game