Removed use of outerHTML