use replaceWith instead of setHtml