Javascript library enabling magnifying glass effect on an images