Update client.js.