// The following if/else block has been taken from the scriptloader core code.
if ( typeof script.onreadystatechange !== 'undefined' ) {
/** @ignore */
// The following if/else block has been taken from the scriptloader core code.
if ( typeof script.onreadystatechange !== 'undefined' ) {
/** @ignore */
/** @ignore */
script.onload = function() {
// Some browsers, such as Safari, may call the onLoad function
/** @ignore */
script.onload = function() {
// Some browsers, such as Safari, may call the onLoad function