jQuery.parseHTML: Make XSS test conditional

The current implementation relies on `document.implementation.createHTMLDocument`,
which IE8 and below are lacking. It also may not be available in older Android browsers (<= 2.x).