[client][triggers_ajax] Clean up the code for missing servers with the library function.