JavaScript functions fire in codepen but not JSFiddle. Why? : <p>I'm trying to run a basic JavaScript function from an external file but I'm getting inconsistent results. Basically, I can't get a button's "onclick" event to fire when I put the script in an external JS page. I can get it work in CodePen:</p>

<p><a href="http://codepen.io/ThatsIsJustCrazy/pen/ezzLyK" rel="nofollow">CodePen</a></p>

<pre><code>nonsense code
</code></pre>

<p>but NOT in JSFiddle:</p>

<p><a href="https://jsfiddle.net/m7ca8sns/" rel="nofollow">JS Fiddle Examlple</a></p>

<p>I can always get it work when the script is part of the HTML page but I don't want to do that. Can you help? Thanks!</p>
