Added comments to js file