Update main.js

fixing typos