Try supporting IE<=8 a bit by adding some attachEvent