Updated web.js Try 2