application.js and web.xml updated