In reply to Andreas Nurbo.

You're not alone in thinking that, here's one explanation...

https://tommcfarlin.com/wordpress-javascript/