fix for Safari and maybe IE where you can't call html() on an XML node