What happens when two libraries try to change the same dom element at the same time
<p>Say we have 2 javascript scripts trying to change the same DOM element.
One tries to enter html into a div and the other tries to move the div elsewhere on the page (for A/B testing) and we cant predict when they will finish loading and run. 
Can it mess up the html page? Do the browsers know to prevent that?</p>
