jQuerifyies the loadedData event listener