Fix client scripts.