Refactor util.getDataURIForImageURL()
Refactor loadAndInlineImages()