Updated main.js comments