Compatibility fixes in ajax: exceptions are no longer promoted to strings before...