Getting string from index.html