title: wordpress get the title in javascript
body: <p>in a PHP file is possible get the title of a post with</p>
  
  <pre><code>the_title();
  </code></pre>
  
  <p>is it possible, in a JS file, get the title of a post?</p>
  
  <p>many thanks</p>