Update client.js

remove test code