changed index.html to given sample code