Add code comments to client.coffee