Update client.js

Minor bug fixes.