add more comments to js