<<we had built a custom minimal runtime that “transpiles” JavaScript code to Lua and runs that Lua code on a Lua VM.>>
What's the point? Why not just write Lua instead of JavaScript? It's a better language anyway. This 'JavaScript everywhere' fad is just pandering to people who are too lazy to learn another language.