Restored lost settings in client.js

inserted code from client002.js into client.js.