rem: var observerService = Components.classes["@mozilla.org/observer-service;1"] .getService(Components.interfaces.nsIObserverService); observerService.addObserver(onItipItem, "onItipItemCreation", false); 
add: var observerSvc = Cc["@mozilla.org/observer-service;1"]. getService(Ci.nsIObserverService); observerSvc.addObserver(onItipItem, "onItipItemCreation", false); 
context: function imipOnLoad(){    var listener = {};    listener.onStartHeaders = onImipStartHeaders;    listener.onEndHeaders = onImipEndHeaders;    gMessageListeners.push(listener);    // Set up our observers    var observerService = Components.classes["@mozilla.org/observer-service;1"]                                    .getService(Components.interfaces.nsIObserverService);    observerService.addObserver(onItipItem, "onItipItemCreation", false);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/79e6cc1011da92ae3fd9afc215d83ee3c14439b2/imip-bar.js/buggy/calendar/lightning/content/imip-bar.js