[NGRINDER-697] Make ajax calls simpler