If simplicity is the goal, html can be inserted in other html using the embed or object tag, no JavaScript required.
https://www.w3schools.com/TAGS/tag_embed.asp
https://www.w3schools.com/TAgs/tag_object.asp