main.js typo fix