added some basic support for background images. If the data attribute data-bkg or data-bkg-retina is found it will apply it as a background image instead of updating an img element