title: Uncaught ReferenceError: sample is not defined
body: <p>Please JS and inspect experts help me solve this out,</p>
  
  <p>I see this error when I create any page that has google maps with my WordPress theme I see it on inspect element right now.</p>
  
  <pre><code> Uncaught ReferenceError: compileposh is not defined
    at crossBrowserFixes (publicjava.js:9471)
    at HTMLDocument.&lt;anonymous&gt; (publicjava.js:9532)
    at i (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at Function.ready (jquery.js:2)
    at HTMLDocument.K (jquery.js:2)
  </code></pre>
  
  <p>What do all the above mean? I have a compileposh reference but why it's not defined ?</p>
  
  <p>the <strong>error</strong> lines codes added at below:</p>
  
  <pre><code> 9470   //remove ajaxy from single posts when using Disqus
   9471   if(compileposh.disqusComments == 'true') 
   $(
       '#post-zone article a, 
       .blog_next_prev_buttons a, 
       #portfolio-nav #prev-link a, 
       #portfolio-nav #next-link a, 
       .portfolio-items 
       .col 
       .work-item 
       .work-info a'
   ).addClass('no-ajaxy');
  </code></pre>
  
  <p>this code located at <code>publicjava.js</code> file located on <code>themefile/js/publicjava.js</code> and called from <code>functions.php</code> also I have a <code>map.js</code> file but the map section I used is a plugin - and I have original theme options that I declared on public java but with all tryings the same error coming to inspect element.</p>
  
  <p>also, there are some more error lines: <code>publicjava.js 9532</code></p>
  
  <pre><code> 9532    crossBrowserFixes();
  </code></pre>
  
  <p>and <code>jquery.js</code> that not included with my theme : <code>jquery.js: 2</code></p>
  
  <p>and this at bottom :</p>
  
  <pre><code>chrome-extension://foobgjfmnkeainefnnoeghobcdcidhme/javascripts/content_script.js:1 Uncaught SyntaxError: Illegal return statement
  </code></pre>