Why Viacom ruling could take YouTube to profitability