Minor improvement for ajaxSetup