setupAjaxExtraParameters avoid when ajaxExtraParameters.length == 0