Tic-Tac-Toe built with JavaScript