2 player JavaScript version of Tic Tac Toe using Firebase