Made changes to views.js and add index.html