a small game of tictactoe in javascript.