title: How can I get metadata from pdf document using pdf.js
body: <p>Is there any way to get metadata from pdf document like author or title using pdf.js?</p>
  
  <p>In this example : <a href="http://mozilla.github.io/pdf.js/web/viewer.html?file=compressed.tracemonkey-pldi-09.pdf" rel="noreferrer">http://mozilla.github.io/pdf.js/web/viewer.html?file=compressed.tracemonkey-pldi-09.pdf</a></p>
  
  <pre><code>&lt;div class="row"&gt;
  &lt;span data-l10n-id="document_properties_author"&gt;
      Autor:
  &lt;/span&gt;
  &lt;p id="authorField"&gt;
      -
  &lt;/p&gt;
  </code></pre>
  
  <p></p>
  
  <p>And the authorField is empty. Is there any way to get this info?</p>