I am working on a page where javascript from various sources is being executed .
I want to ensure my custom js is only executed AFTER everthing else has been done .
The "other" js is call on various events like clicking some buttons etc ..all of which change/alter the Dom in some way .I want to detect in my custom js when this DOM change is complete I want to do something(which may also change the DOM but thats fine as it may result into execting my js twice which i can afford ) But the main question is how to I know that the other js is done with the DOM ?