rename and refactor calculateAjaxAction to calculateResultAction, changed the routes