 
   _xhrForm = (method, url, data, success, dataType) ->
     $$.ajax
-      type: method
-      url: url
-      data: data
-      success: success
-      dataType: dataType
-      contentType: "application/x-www-form-urlencoded"
-
-  _parseResponse = (xhr, settings) ->
-    response = xhr.responseText
-    if response
-      if settings.dataType is DEFAULT.MIME
-          try
-            response = JSON.parse(response)
-          catch error
-            response = error
-            _xhrError "QuoJS.ajax: Parse Error", xhr, settings
-      else response = xhr.responseXML    if settings.dataType is "xml"
-    response
+      type        : method
+      url         : url
+      data        : data
+      success     : success
+      dataType    : dataType
+      contentType : "application/x-www-form-urlencoded"
 
   _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) ->

        $$(script).remove()
        delete window[callbackName]

        _xhrSuccess response, settings

      script.src = settings.url.replace(RegExp("=\\?"), "=" + callbackName)
      $$("head").append script
