XO Game using Java Script