change some methods for IE8

getComputedStyle
element.addEventListener
and more