LB-913: Error on javascript console when twitter tab is opened

Fixed.
Merge pull request #303 from eozan/LB-913

Lb 913