3rd Party Script Breaking my JS
<p>I have a 3rd party script that displays some data on my site. When the script loads it breaks all of the JS on any page the script is in. I remove the script and my page works without issue.  </p>

<p>Are there ways to prevent 3rd party scripts from interacting with my page in a way the breaks the page?</p>

<p><strong>Notes:</strong></p>

<ul>
<li>I have no access to the 3rd party script to edit.</li>
<li>I am using jQuery for the scripts that are breaking. I have in place <code>jQuery.noConflict</code> yet it still breaks the page. </li>
<li>I have attempted to load the script in an iframe to see if that made a difference. It did not.</li>
<li>The script does write data to the page, mainly CSS and HTML</li>
</ul>

<p>Note: The below code may contain references/links to drug content, mainly marijuana. </p>

<p>I am building a site for a medical marijuana dispensary. I am importing the menu of the dispensary from a site called WeedMaps. Their embed code looks like this: </p>

<pre><code>&lt;script type="text/javascript"&gt;var wmenu_id = 1111;&lt;/script&gt; //The number correlates to the menu I need to pull, I have changed it in this question
&lt;script type="text/javascript" src="http://legalmarijuanadispensary.com/components/com_weedmenu/weedmenu-widget.js"&gt;&lt;/script&gt;
</code></pre>

<p>When I use the above code the JS of my site breaks. How to I prevent my code from breaking when using 3rd party scripts over which I have no control. </p>

<p><strong>UPDATE</strong></p>

<p>Here is a <a href="http://jsfiddle.net/Lynda333/u8gH3/1/" rel="nofollow">JS Fiddle</a>. The menu opens but doesn't close properly. Remove the script that is generating the menu from weedmaps and the menu works correctly. (The weedmaps menu script is in the bottom of the HTML panel.)</p>
