title: Uncaught ReferenceError: grecaptcha is not defined
body: <p>I am using <code>recaptcha</code> v2</p>
  
  <p>I am getting the following error occasionally (sometimes i don't get error and sometimes i do get it)</p>
  
  <pre><code>Uncaught ReferenceError: grecaptcha is not defined
  </code></pre>
  
  <p>It seems because of the internal http request. that takes some time to get another js <code>recaptcha__en.js</code>. Meanwhile actual rendering code of <code>grecaptcha</code> executes.</p>
  
  <p>So what is the standard solution to avoid this issue.?</p>
  
  <p>PS : of course i am looking for some solution other than <code>setTimeout</code></p>