changed app.js in an attempt to fix things