refactor ajaxHandler service 6