US appeals court permits YouTube to display anti-Muslim video with changes