Use default options for $.ajax function

Repair $.extend({}, ajax.DEFAULTS, options)  if for example it's call like this

ajax.DEFAULTS['onError'] = myfunc
options.onError  = null

$.extend  result is options.onError  = null