update of app.js due to handlebars