Use readFileSync to read index.html on web.js file