small tweaks before shipping ajax