updated app.js and package.json