[javascript] ai othello game