add:  this._lms = Cc["@mozilla.org/browser/livemark-service;1"]. getService(Ci.nsILivemarkService);   BookmarksUtils.addLivemark = function(a,b,c,d) {PlacesBrowserShim.addLivemark(a,b,c,d);}; 
context: PlacesBrowserShim.init = function PBS_init() {  var addBookmarkCmd = document.getElementById("Browser:AddBookmarkAs");  addBookmarkCmd.setAttribute("oncommand", "PlacesBrowserShim.addBookmark()");  this._bms =       Cc["@mozilla.org/browser/nav-bookmarks-service;1"].      getService(Ci.nsINavBookmarksService);    var newMenuPopup = document.getElementById("bookmarksMenuPopup");  newMenuPopup.folderId = this._bms.bookmarksRoot;};
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3be621e0bc174bc0ce03079635216d627fcd940f/browserShim.js/buggy/browser/components/places/content-shim/browserShim.js