guard window.getComputedStyle call for IE8