deleting objects from the DOM