Issue #1 - use outerHTML to return parent element

- Fix: Use outerHMTL instead of innerHTML
- Add: Updated replaced innerHTML with outerHTML