How to change some channel's info with javascript?

Yes, it was. I get this permition.
Twitch.login({ scope: ['user_read', 'channel_read', 'channel_editor'] });