Update client.js

Trying to revert back to working