there is active work to make the js engine more pluggable
https://github.com/servo/servo/issues/40600 (and safety work)
https://servo.org/blog/2024/04/15/spidermonkey/
https://github.com/servo/servo/wiki/Servo-and-SpiderMonkey-R...
the monthly updates always mention their refactoring work on the script crate