Update web.js

Committing changes as configure is depracated