title: Uncaught ReferenceError: Tesseract is not defined
body: <p>I'm trying to run simple script using stack snippets:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var img = document.getElementsByTagName('img')[0];
  Tesseract.recognize(img, function(err, result) {
    console.log(result);
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="http://tenso.rs/tesseract.js" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;img src="https://www.w3.org/TR/SVGTiny12/examples/textArea01.png"/&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>But got error: <code>Uncaught ReferenceError: Tesseract is not defined</code>, why? when I open <a href="http://tenso.rs/tesseract.js" rel="nofollow">http://tenso.rs/tesseract.js</a> it redirect to <a href="https://cdn.rawgit.com/naptha/tesseract.js/master/lib/Tesseract.2015.07.26.js" rel="nofollow">https://cdn.rawgit.com/naptha/tesseract.js/master/lib/Tesseract.2015.07.26.js</a>  and there is the code, but when I include that file instead I got unknown error <code>Script Error</code> because of cross origin. How to resolve this?</p>