This function should be updated so it can accept a config object as the first parameter, just like you've done for the OpenSeadragon.Overlay constructor.