Got working AI js from github

just c/p it from online, since i don't know how to use github's ai to
pull or compare diffs :/