Fix for #5106 - allow checkout in older IE

Think I did the last pull request wrong. Bear with me please.