small ajaxRefresh fixes