DOM patcher now works correctly with text nodes