Fix broken ajax.