reedited original web.js