Rename LevelRegistry.allImagesLoaded to onload