I want to write a JavaScript which includes Bootstrap (and Bootstrap Modal) into a page, based on some action in the page.
However, I don't want to stomp on the existing styles in the page, and I won't know what these styles will be included, since this will take place on more than 15 sites, and the developers of each will be continually changing the sites.
The only thing I can guarantee is that <script type="text/javascript" src="path/to/myscript/that/adds/bootstrap.js"></script>
will be included in each of the pages' <head>
elements.
How can I do this without running into the aforementioned problems?