Removing obsolete vars in client.js