main app.js file