title: Jquery Cookie lib for Bootstrap modal: Uncaught SyntaxError: Unexpected Token ILLEGAL
body: <p>I'm trying to include a bootstrap modal and only have it appear every 7 days via jquery.cookie library. When I load the page and view the errors in console, I get the following:</p>
  
  <pre><code>Uncaught SyntaxError: Unexpected Token ILLEGAL
  </code></pre>
  
  <p>Here I grab the script: </p>
  
  <pre><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.0/jquery.cookie.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Then I initiate the modal using the cookie function:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function() {
      if($.cookie(‘pop’) == null) {
          $(‘#myModal’).modal(‘show’);
          $.cookie(‘pop’, ’7′);
      }
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>Is something wrong with my syntax? As far as I can tell everything is correct, I'm calling the latest jquery lib first in the header, then the cookie lib, then calling the jquery cookie function much later, near the footer (so I'm assuming it's not caused by a delay in the http request).</p>
  
  <p>Here is the site in question: <a href="http://goo.gl/12ZvJP" rel="nofollow">http://goo.gl/12ZvJP</a></p>