beginnig of ajax