reads from index.html