client.js addded