TicTacToe built using Javascript