fix ie8, has no getComputedStyle