YouTube CEO Susan Wojcicki says it's "critical" that the company is "on the right side of history" as it addresses the controversy over inflammatory and extremist videos on its platform.