Updated index.html to get data from js