Adjusted web.js