updated web.js
read from index.html
added require fs
got rid of quotes in index.html