Fix typo in client.js