Check request.xhr? for JS requests