js4mIRCProblem solved (mostly). The JS engine used there might be outdated (you'd probably embed V8 instead), and the mIRC integration is a little outdated too, but that clearly shows that it's feasible and simple to add JS functionality via dll.
Why does it need to be builtin?
The others have it right. JS is the wrong candidate for mIRC because it's not mIRC script. There's no reason for Khaled to support mIRC script at the same time as adding bridge libraries for JS. That is simply put a duplication of efforts. It would only make sense of the ultimate goal was to phase out mIRC script entirely in favour of
only supporting another language, but that's pretty much never going to happen in your lifetime. It would be like Linux removing Perl because Python is "better".
If you want speed use a dll like the above to avoid the overhead of COM. Plugins like these is something that third party DLL / scripting support was built for.