title: Google Autocomplete HTMLInputElement error
body: <p>I am using Google Autocomplete and am getting this error</p>
  
  <pre><code>InvalidValueError: not an instance of HTMLInputElement
  </code></pre>
  
  <p>I think Google has getElementById for deprication</p>
  
  <pre><code>var input = /** @type {!HTMLInputElement} */(
    document.getElementById('pac-input'));
  </code></pre>
  
  <p>However i'm unsure on it's usage. My code below</p>
  
  <pre><code>var options ={
      types:['(cities)'],
  };
  
  var input = document.getElementById('destination');
  var autocomplete = new google.maps.places.Autocomplete(input, options);
  }
  
  google.maps.event.addDomListener(window, 'load', initialize);
  </code></pre>