added JS to app.js