Reading from index.html
UPdate to web.js
Bug fix
Reading correct file