show body only in ajax requests