Google Maps Api v3: How to geocode with closure

HTML

<script src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>

CSS

html, body, #map_canvas {
    height: 100%;
    margin: 0px;
    padding: 0px
}