More ajax tweaks