Fix: ajax 'callback' is called twice, when an error occurs in parse json.