Update client.js

Corrected formatting