Fixes loading delay in jq 2.x for API, swaps success, complete, error callbacks for onSuccess, onComplete etc.