TicTacToe built with Javascript