Made changes to views.js and add index.html

This is working now. Not quite beautiful, but functioning.