loadFile IE8 support fix