ai/visibility.js — pull request #7 by mcfedr (2012-09-25 12:00:47+00:00)
Title: Return listener in onVisible

This will let you use unbind to remove the listener