title: Google autocomplete callback pointing to a function inside a Javascript module
body: <p>I am getting started with the Google autocomplete API where the following code is included in the script tag. However, the callback function initAutocomplete is inside a module and I am not able to call it.</p>
  <pre><code>&lt;script src=&quot;https://maps.googleapis.com/maps/api/js?key=APIKEYGOESHERE&amp;libraries=places&amp;callback=initAutocomplete&quot; async defer&gt;&lt;/script&gt;
  </code></pre>
  <p>Could someone kindly advise on the best approach for this?
  Alternatively, how would I format the contents of the script tag to sit inside a js module?</p>
  <p>Thanks in advance!</p>