changed index.html to support editing