Fixing a missing callback

This breaks in Firefox.  I'm surprised that this hasn't come up before.