set root element and allow inserting html not only text
removed console.log()
added a simple demo to show temply