Update main.js

Spelling issue