Javascript library for working with hi-res images (retina, hdpi, etc.)