Apply innerHTML fix to IE9, fix FF integration elements

Refactor some browser fixes to map to problems in IE9 and FF.