Othello Game with JavaScript