JavaScript classes for viewing Gigapans with the Seadragon viewer