[client][actions_ajax] Use library functions instread of those defined locally.