I’m not sure if you can or cannot.
Update: I believe what you’re asking is in fact possible with Kirby. Kirby doesn’t output fixed attributes or any of that nonsense you get with WordPress. Basically you have control over your code.
To echo out scripts, you do this: