A plain JavaScript library to change images and background images from standard to retina resolution