split js and css code by files, ttt game looks ok now