Improved error reporting in the jSON serializer. Enhanced messaging for offline ajax.