Update app.js

Got 4th step to work with logic!!