comments

I added comments so that it can be understood by the others who are just
learning Js