x-browser getComputedStyles wrapper implementation