Update htmlcontent.xml

implement text_before and text_after an pass the static HTML part to javascript with the settings object