A javascript tic-tac-toe app