How to change some channel's info with javascript?

I don’t believe you can change those. The supported parameters are shown in the documentation.