Fix #13193 document.ready not firing on Firefox, Opera with XSLT and XML

Fix helps address #13193 where document.ready doesn't fire if XML/XSLT with output="xml" is used

Manually tested on FF 17.0, IE6/7 with both xsl:output method="xml", and xsl:output method="html"