added index.js and index.html