Updated index.js
Added index.html
Added index.html and make index.js use it
Fixed bug in index.js