Updated web.js
index file
reading file for output
reading file for output