setText method execution after the element has been appended to the DOM

- add javadoc
- rollback imports structure to it's initial state