added index.html and fixed index.js