Fixed web.js to load files other than index.html