add: gCalendars = getCalendarManager().getCalendars({}); 
context: function ltnSetTreeView(){    document.getElementById("calendarTree").view = ltnCalendarTreeView;    // Ensure that a calendar is selected in calendar tree after startup.    if (document.getElementById("calendarTree").currentIndex == -1) {        var index = getIndexForCalendar(getCompositeCalendar().defaultCalendar);        var indexToSelect = (index != - 1) ? index : 0;        document.getElementById("calendarTree").view.selection.select(indexToSelect);    }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/2289d8bc143211c25fb37aa74324ecdf1bc8296e/calendar-management.js/buggy/calendar/lightning/content/calendar-management.js