Pull contents from index.html into web.js