adds comments to JS file