Update client.js