Remove empty TextNode left behind by IE8 setInnerHTML workaround

(cherry picked from commit 8a135c0e75cfc3dfaba26deb49c8d85f12fa294b)
Fix browser-tranforms

(cherry picked from commit e8efa2a1e915da7aab90f6ad2ffcb226b7016293)