Added return lines in insertHtml