One thing I am certain about is that javascript has gone through a very large amount of changes in it's lifetime – it doesn't look at all like it did when it was released and its' intended usages have changed a lot.
I can't help to think that there has to be a better way. Are we stuck with supporting mutable prototypes forever or what could an alternative look like?
Personally I'd still want a scripting language, but one that would be a lot stricter. No binaries like wasm, less globals, preferably type safe. I'd also prefer if we could go a route that didn't rely on the event loop and supported multiple threads.