updated comments in main.js