Update main.js

some extra comments