Added comments to the js file