fixed doubble client.js