updated application.js and package.json to newer versions