Justin Timberlake, Jay Z close out Legends of Summer tour in Miami on Friday