adding app.js file