JSREF

HTML DOM Element insertAdjacentText()

Insert text after a header element: