Changed web.js to reload index.html when browser refreshes