Update main.js

Typos in line 41 and 42