Making the URL to pick up host/port from the document.location
Changing extension from .png to .jpg
Changing extension from .png to .jpg
adding other files/directories that need to be ignored
picking jpg files instead of png