I think you have a misunderstanding of what AJAX is. I have no idea what you are getting at with the political rambling about metadata and Trump.
What concerns Trump is merely that this technically allows political manipulation by having a short and cheap route to be able to do just that.
Hyperbolic nonsense. Javascript couldn't even aspire to be as insecure as C.
If that's hyperbole, I'm in stable orbit around earth.
https://deadliestwebattacks.com/2013/01/22/know-your-javascr...
https://www.cnet.com/news/faq-javascript-insecurities/
Wannabe "fiddlers" love JS as everything works.
"They should peruse their Web site for cross-site scripting flaws and fix those."
Every site is now cross-site with FB and Google, even using them as JS service providers. It has shot security that inherently dead.