updated index.js
wrote index.html