added app.js and main.js