Add some functionality to app.js