Added function for removing elements (equiv of Element.remove())