code reformation: move utils to the bottom and extract slice function
add jsdoc
add jsdoc for DOMNode
add jsdoc for DOMElement
add jsdoc for DOMEvent and DOM
fix bug
add jsdoc for DOMElementCollection and fix bugs
small jsdoc fixes