>>8
I think they moved to JavaScript to make the games cross-platform.
https://textboard.org/prog/467/3
RPG Maker MV seems to be implemented using Qt.
Qt includes an embedded web browser.
My guess is that RPG Maker MV games run in embedded web browsers to achieve cross-platform compatibility.
A web browser environment naturally favors JavaScript over Ruby.