Jscript tic tac toe