A generic JS pinch-to-zoom library