fixes bugs in package.json and application.js