fixed web.js to display images