propper behaviour for appendHTML(), html() and prependHTML()
major code refactoring, large changes to attr()
fix: class name split
testing 'nodeType' instead of hasOwnProperty