#928 - add fixes to errors shown on IE 8