$Element.remove returns this
improve DOM.mock, add additional test
improve jsdoc, minor refactoring