Added delete all elements steps.
Moved listeners from the document to the body due to inability to remove listeners from the document.
Removed listeners from the body.