Update and rename app.js to main.js