Modified parameter names
In ajax actions we always return a JsonResponse instead of encapsulating
it in an "if" clause