Where is this callback defined? More JS magic?