cleared more bugs in app.js and package.json