modified web.js to read from index.html
 modified web.js to read from index.html