first commit to javascript ttt