Fix client.js