adding minor ajax to cases