fixed #441: IE8 doesn't have `getComputedStyle`