Set the default ajax options when extending the different options objects and remove them from the ajax function.