Updated web.js
Added index.html
Changed to read the output from a file.