add appendUrl utility function

Adds a function in utility.js that appends image urls to image data objects.