Added an event call for when the content is loaded