Edited web.js for img