modify web.js to read from index.html fix requier fs