[NGRINDER-697] Fix ajax error