[Kerry] small tweaks for ajax call