Ensure that loadScript callbacks are only executed once in IE