Update main.js

commented code