rem: var os = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService); 
add: var os = Components.classes["@mozilla.org/observer-service;1"] .getService(Components.interfaces.nsIObserverService); 
context:   init: function ()  {    var os = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);    os.addObserver(this, "Migration:Started", false);    os.addObserver(this, "Migration:ItemBeforeMigrate", false);    os.addObserver(this, "Migration:ItemAfterMigrate", false);    os.addObserver(this, "Migration:Ended", false);    this._wiz = document.documentElement;    if ("arguments" in window && window.arguments.length > 1) {      this._source = window.arguments[0];      this._migrator = window.arguments[1].QueryInterface(kIMig);      this._autoMigrate = window.arguments[2].QueryInterface(kIPStartup);      if (this._autoMigrate) {        // Show the "nothing" option in the automigrate case to provide an        // easily identifiable way to avoid migration and create a new profile.        var nothing = document.getElementById("nothing");        nothing.hidden = false;      }    }    this.onImportSourcePageShow();  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a9d4c4716754e5e12c7b59a98f8f9ca3fb676845/migration.js/buggy/browser/components/migration/content/migration.js