Make permalink button work in IE8.
Make permalink button work in IE8.

IE8 doesn't have addEventListener, so use attachEvent if that doesn't exist.

Auditors: alpert

kwangkim/katex-npm-0.7.0-pre,crepererum/KaTeX,kwangkim/katex-npm-0.7.0-pre,crepererum/KaTeX,kevinbarabash/KaTeX,mcanthony/KaTeX,mcanthony/KaTeX,saschatimme/KaTeX,saschatimme/KaTeX,twitwi/KaTeX,kwangkim/KaTeX,saschatimme/KaTeX,spicyj/KaTeX,mcanthony/KaTeX,franciscop/KaTeX,gagern/KaTeX,crepererum/KaTeX,frankandrobot/KaTeX,franciscop/KaTeX,kwangkim/KaTeX,kwangkim/KaTeX,franciscop/KaTeX,Khan/KaTeX,saschatimme/KaTeX,spicyj/KaTeX,azotova/KaTeX,gagern/KaTeX,gagern/KaTeX,kevinbarabash/KaTeX,JetStarBlues/KaTeX,twitwi/KaTeX,spicyj/KaTeX,kevinbarabash/KaTeX,xymostech/KaTeX,crepererum/KaTeX,xymostech/KaTeX,saschatimme/KaTeX,xymostech/KaTeX,kwangkim/katex-npm-0.7.0-pre,frankandrobot/KaTeX,frankandrobot/KaTeX,zhanghuiguoanlige/KaTeX,spicyj/KaTeX,xymostech/KaTeX,twitwi/KaTeX,JetStarBlues/KaTeX,JetStarBlues/KaTeX,mcanthony/KaTeX,azotova/KaTeX,frankandrobot/KaTeX,twitwi/KaTeX,zhanghuiguoanlige/KaTeX,JetStarBlues/KaTeX,kwangkim/katex-npm-0.7.0-pre,twitwi/KaTeX,zhanghuiguoanlige/KaTeX,azotova/KaTeX,xymostech/KaTeX,Khan/KaTeX,spicyj/KaTeX,kwangkim/katex-npm-0.7.0-pre,Khan/KaTeX,kevinbarabash/KaTeX,zhanghuiguoanlige/KaTeX,zhanghuiguoanlige/KaTeX,kwangkim/KaTeX,JetStarBlues/KaTeX,kevinbarabash/KaTeX,frankandrobot/KaTeX,azotova/KaTeX,mcanthony/KaTeX,gagern/KaTeX,franciscop/KaTeX,crepererum/KaTeX,franciscop/KaTeX,gagern/KaTeX,azotova/KaTeX,kwangkim/KaTeX