JavaScript library that can create animated GIFs from media streams, videos, or images