Update app.js

trying to fix data response issues