A simple Tic Tac Toe game in Javascript