changes in app.js by nilesh