title: Unload Google Maps API?
body: <p>I have a main page that uses ajax to load subpages and one of these subpages contains a google map, and so it loads the google maps api using the <code>&lt;script&gt;</code> tag:</p>
  
  <p><code>&lt;script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&amp;sensor=SET_TO_TRUE_OR_FALSE"&gt;</code></p>
  
  <p>I noticed that this loads a bunch of css and js files into both my main page and subpage. When I click on a different link in my main page, I want to be able to unload all of these files and remove any js objects that were created, i.e., clean up everything and return to the original state. Is there any way to do this?</p>