read response from index.html