Pass the reconnect function as a callback argument
Remove jsdoc inline documentation from client.js