Complex sentence: Bruce Timm wanted to create an episode involving the Justice Society and the Injustice Society but couldn't buy the rights needed, so he made homages to the needed characters.
Split into simpler sentences: Bruce Timm wanted to create an episode involing the Justice Society and the Injustice Society, couldn't buy the rights needed. So he made homages to the needed characters.