Updated web.js version 4