Update htmlcontent.js

bugfix, add default value of "" to text_before and text_after if they are not specified in the simple xml