Update main.js

Adjusted some comments