Make permalink button work in IE8.

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

Auditors: alpert
Fix font sizing issues
Add some more changes