Updated web.js
Getting string from index.html