update web.js
added index.html
Read from file
require fixed