Move dispatchEvent.return.value.html to dom/ and clean it up.