Fix Bug: IE8 does not have window.getComputedStyle and document.getElementsByClassName