Modified web.js to read from index.html (fixed fileread)

Conflicts:

	web.js
cleaning up failed commits