Edit to web.js