allow ajax configuration