Add comments to JS (main.js)