Updating web.js to load form index.html