Code refactoring: Unified that/this with insertHtml.