title: Foundation object has no method foundation
body: <p>I have a problem with my script ordering.</p>
  
  <pre><code>&lt;head&gt;
  ...    
  &lt;script src="layout/js/jquery.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="layout/js/foundation.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="layout/js/foundation.tooltip.js"&gt;&lt;/script&gt;
  &lt;script src="layout/js/foundation.reveal.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="layout/js/jquery.modernizr.js" type="text/javascript"&gt;&lt;/script&gt;
  
  
  &lt;/head&gt;
  &lt;body&gt;
  ....
  
  &lt;script&gt;
    $(document).foundation();
  &lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I read many Solution of this problem but i don't find my bug :(..</p>
  
  <p>Here is my Example Page with the Error in console:</p>
  
  <p><a href="http://davis-design.de/marktadresse/detailansicht.html" rel="nofollow">http://davis-design.de/marktadresse/detailansicht.html</a></p>
  
  <p>Hope someone can help me.</p>