Updated web.js
Altered web.js to read from file