Updated main.js to use relative image links