add:  if (!client.initialized) return null;  
context: function c_updatemenus(menus){    return this.menuManager.updateMenus(document, menus);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c730a7efe774c89e884502686ec906c28786497e/static.js/buggy/extensions/irc/xul/content/static.js