function initMap() {
		
        document.getElementById('map-hider').appendChild("map");
		var mapDiv = document.getElementById('map');
		mapDiv.style.cssText = 'width:200px; height:200px;';
        var map = new google.maps.Map(mapDiv, {
            center: {lat: 44.540, lng: -78.546},
            zoom: 8
        });
		
		window.alert("Loaded Google Map, adding WanderlustSA markers...");
}


@@ -16,16 +16,60 @@
 p() %7B%0A%09%09
+var element = document.createElement(%22map%22);
 %0A       
@@ -118,21 +118,23 @@
 ndChild(
-%22map%22
+element
 );%0A%09%09var

tweak to append child