moved twitch stuff to own js file