JavaScript GIF encoding library