modified web.js to render page from index.html
merging dev branch