The API has changed a little bit, and the documentation is not ready.
The ComObject class has been replaced by the simple CreateComObject function.you can use: var typeLib = CreateComObject("Scriptlet.TypeLib");
Franck.