Update templates/app/view/index.js