bug 1023326 - use frame scripts for tab content events
Merge pull request #1510 from zombie/1023326-tab-events

bug 1023326 - use frame scripts for tab content events, r=@Mossop