Thanks for highlighting this issue.

The number of times I see jQuery loaded just for one teeny tiny task which could be done with a few lines of vanilla JS is ridiculously high. I often even have to convince people that jQuery isn't present in every WordPress site by default. People seem to think it's the standard tool for every single job.