Update app.js

removed unnecessary code