Nice! I love that it is a single .js file.
I built a similar CSS only glitch effect [1] and I really want to check your code when I get to my laptop to see how did you do it.
[1] https://muffinman.io/blog/css-image-glitch/