added non-jquery request handling