Better handling of certain non-JSON responses.

- If server responds with a non-200/400 status, ignore JSON parsing error.
- Removed unnecessary calls to `$(this)`.