Ping my channel page to see if it's currently live streaming using only JavaScript?

Why would the user login to twitch? I couldn’t care less if someone is able to know if I’m streaming or not using JavaScript, is there a way to turn off this needless security?