propper behaviour for appendHTML(), html() and prependHTML()