Modified web.js to accomodate static images