Update main.js

fixed some typos