jQuery unable to addClass to multiple dynamically created elements

I am unable to resolve the following issue with my Twitch.tv project. When I run the following code

('.offline').each(function(){ (this).addClass(‘hide’);
});

jQuery unable to addClass to multiple dynamically created elements with the same class.

https://codepen.io/GreenApple/pen/dVmzmj

Thanks for the information.