Modified web.js to accept static files