I have a COM library provided by a vendor as an API. I want to call this from JavaScript to interface with their product. How can I call this from JavaScript? (please provide examples or links to pages that have examples).