Updating for IE8 compatibility - #8532

add this to another file