Fixed minor syntax error in main.js