client.js work