title: wkhtmltopdf with javascript-delay not working
body: <p>The pdf that is created using the code below hasn't finished rendering the javascript so javascript was preformed on half of the tables (say if there are 100 tables then sometimes 50 are done, other times 52, 54 etc).</p>
  
  <p>I'm using the flag <code>--javascript-delay 40000</code> in trying to delay the retrievement of the page but the results are the same. It's still pulling the trigger too fast. I know this is the issue because when I use the browser everything works correctly.</p>
  
  <p>How can I set the delay properly?  Maybe <code>shell_exec</code> is at fault here?</p>
  
  <pre><code>$command = shell_exec("xvfb-run -a -s '-screen 0 640x480x16' wkhtmltopdf-i386 --dpi 300 --javascript-delay 40000 --page
  </code></pre>
  
  <p><strong>EDIT:</strong></p>
  
  <p>using the version:</p>
  
  <pre><code>wkhtmltopdf-0.11.0_rc1
  </code></pre>