cleanup client.js debugs