Update client.js

added