minor ajax changes