Return the doc when it is a xhr request.
Bump version.