added the possibility of customizing the ajax request via option ajaxExtras