Fixed web.js to return content instead of file index.html.