Add lots of comments to the main.js file.