To closure object client.js