Added JSON check for error messages.  If responseText is not JSON string ignore