Otello Game in Javasrcipt