var ContactUs = function () { return { //main function to initiate the module init: function () { var map; $(document).ready(function(){ map = new GMaps({ div: '#map', lat: -13.004333, lng: -38.494333, }); var marker = map.addMarker({ lat: -13.004333, lng: -38.494333, title: 'Loop, Inc.', infoWindow: { content: "Loop, Inc. 795 Park Ave, Suite 120
San Francisco, CA 94107" } }); marker.infoWindow.open(map, marker); }); } }; }();