Adding missing require to web.js