Add comments to main.js