simple javascript tic tac toe game