Add comments to ws_server.py
Add comments to socket.js