end of ajax class