fixing other image URLs in JS