started js version of ttt for practice