added index.html and updated index.js