Added some comments in the javascript folder