added client.js