Updated web.js
read from file
fixed fs
added encoding
fix encoding to utf8
remove console log
fix