$(window).load(function() { var t = this; console.log('test'); t.twitterBox = $('#twitter-widget-0'); t.twitterBox.find('.timeline-Tweet-text').attr('style', 'color: #fff'); }