This event should have a generic name such as "onResourcesLoaded", and the other instances of this name in this file adjusted.