We use _inDOM to track which scripts are currently processing. This is to avoid race conditions where the user might click on two different things and trigger a load twice. If it's _inDOM then we add an event listener to the load, so we can fire off all loading callbacks. We don't want to remove the node from the dom.