fixing typo in main.js