rem: captionLine = bundle.GetStringFromName( "ps_title" ); 
add: try { captionLine = bundle.GetStringFromName( "ps_title" ); } catch(e) { captionLine = "Select Profile Yah"; } 
context: function SwitchProfileManagerMode(){  var prattleIndex  = null;  var captionLine   = null;  var buttonDisplay = null;  var selItems      = [];    if( profileManagerMode == "selection" )  {    prattleIndex = 1;                                       // need to switch to manager's index    captionLine = bundle.GetStringFromName( "pm_title" );   // get manager's caption    buttonDisplay = "display: inherit;";                    // display the manager's buttons    var manage = document.getElementById( "manage" );       // hide the manage profiles button...    var manageParent = manage.parentNode;    manageParent.removeChild( manage );    profileManagerMode = "manager";                         // swap the mode    PersistAndLoadElements( selItems );                     // save the selection and load elements  }   else {    prattleIndex = 0;    captionLine = bundle.GetStringFromName( "ps_title" );    buttonDisplay = "display: none;";    profileManagerMode = "selection";    PersistAndLoadElements( selItems );  }  // swap deck    var deck = document.getElementById( "prattle" );  deck.setAttribute( "index", prattleIndex )      // swap caption  ChangeCaption( captionLine );    // display the management buttons  var buttons = document.getElementById( "managementbox" );  buttons.setAttribute( "style", buttonDisplay );  // switch set  if( set )    set = false;  else    set = true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/17aba02c9bc5394254b7240267278b8e0c66fc11/profileManager.js/buggy/profile/resources/content/profileManager.js