Udated web.js
updated web.js to read from file system