A simple TicTacToe game, with simple AI. Written in javascript