remove dependence on old ajax helpers