Fix DOM.replaceWithHTML()

Don't wrap in a <div> when only single element