modified the script loader events to have different handling for IE10+ vs older browsers