add: dest_container.AppendElement(resource); 
context: function copy_resource_deeply(source_datasource, resource, dest_container) {  dest_container.AppendElement(resource);  var arcs = source_datasource.ArcLabelsOut(resource);  while (arcs.HasMoreElements()) {    var arc = arcs.GetNext();    var targets = source_datasource.GetTargets(resource, arc, true);    while (targets.HasMoreElements()) {      var target = targets.GetNext();      dest_container.DataSource.Assert(resource, arc, target, true);    }  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/cc04cda5e4364049cc24fd1a7ec0d415ffef1c97/customize.js/buggy/suite/common/sidebar/customize.js