Fixed syntax error in main.js