Retina javascript