Fixes IE compatibility issues.