Update and rename main.js to app.js