Fixed main.js's closing bracket