https://codetofun.com/jquery/replacewith/
jQuery .replaceWith() Method