Added some comments on the data format between server and js code in client