added mediaByTag & topMediaByTag (also refactored callback)