small ajax changes