Changed app.js name to main.js