The output is now the processed body, instead of the raw string.
Added support for AJAX requests.