Update main.js

fixed some typos
Merge pull request #1 from ben-carson/master

Update main.js, fixed typos