         $$(script).remove()
         delete window[callbackName]
 
-        _xhrSuccess response, settings
+        _xhrSuccess response, xhr, settings
 
       script.src = settings.url.replace(RegExp("=\\?"), "=" + callbackName)
       $$("head").append script


  _isJsonP = (url) ->
    RegExp("=\\?").test url

  _xhrStatus = (xhr, settings) ->
    if (xhr.status >= 200 and xhr.status < 300) or xhr.status is 0
      if settings.async
        _xhrSuccess _parseResponse(xhr, settings), xhr, settings
        return
    else
      _xhrError "QuoJS.ajax: Unsuccesful request", xhr, settings
      return

  _xhrSuccess = (response, xhr, settings) ->
    settings.success.call settings.context, response, xhr
    return

  _xhrError = (type, xhr, settings) ->
