title: google map api does not load when script in on same html page
body: <p>There might be simple reason, but I am not getting it, so here I ask -</p>
  
  <ol>
  <li><p>I am using google map in simple way in my simple html site as instructed on <a href="https://developers.google.com/maps/tutorials/fundamentals/adding-a-google-map" rel="nofollow">https://developers.google.com/maps/tutorials/fundamentals/adding-a-google-map</a>
  and
  <a href="http://www.w3schools.com/googleAPI/google_maps_basic.asp" rel="nofollow">http://www.w3schools.com/googleAPI/google_maps_basic.asp</a>
  , where google map script src ( src="http://maps.googleapis.com/maps/api/js?sensor=false" , which I have tried with key and without key) and initialize() and addDomListener on load function are on same page, and I save that page with .html extension (tried with .php on wamp too).</p></li>
  <li><p>However map does not show up, so then I put the initialize() and addDomListener function in different wrapper like map_script.js and called it on main .html or index.php page, then only map was shown on page.</p></li>
  <li><p>Is it because html or php couldn't process that js part, and it worked when it was in different js wrapper. Or Is there something else?</p></li>
  </ol>