Update web.js

Adding configuration