Updated index.html to match API change