added XHR v.2 support check