add a destroy method for cleaning DOM elements
Merge pull request #1 from FlorianLB/add-destroy-method

add a destroy method for cleaning DOM elements