Tic Tac Toe game written with JS