loadEvents ie8 fix