put js together inside app.js