return early when not xhr2