Better feature detection for XHR2