Simple Check if channel is live via client-side javascript

Geez they make it hard to do stuff. I just try finding answers. Sorry wasn’t more help @LeanderK.