Provides a cyclical interface for JavaScript callback functions