Added resources loaded event.