Just wanted to add a custom solution to interpret static global variables without runScripts: 'dangerously' when relying on third-party content.
https://gist.github.com/sneko/72f1a6deb9efdf47b952fb3dd31660c6
It won't help in case you need remote scripts to be loaded, but since your post is one of the few about this, I thought posting my solution could help some :)