Added xhr2 support checker method.