adds comments to js file