Code for article I posted to CodeProject April 22, 2009 that shows how to consume a COM Component in JavaScript (IE only)