some ajax changes