I'm pretty sure this is actually out of scope, since it's defined inside a closure in openseadragon.js... instead we should add it to the OpenSeadragon object, preferably with a leading underscore to give it a soft private status.