added back a indexView.js to routes