Modified web.js to grab content from index.html