But the fact is that JavaScript does have a fully formed user base now.
The whole idea behind this effort is to facilitate contributions to Wikimedia from a diverse set of (presumably busy) contributors, correct? If so, what's the point in making them learn a new language in order to contribute, when an existing well-known language is a perfectly reasonable fit?
Sounds like someone had a Lua hammer, so everything looked like a Lua nail.
JavaScript did not birth with a fully formed userbase.