Javascript othello game