IE shim: copy styles from grayscale element to replacement element. Fixes #1