updated order of ajax options