Remove old insertHtml function