Adding logic to make sure the data-media attribute is set if it isn't for the rwd pictures