changed web.js to run on localhost