(function() { 
 
  // getting a reference to the main namespace if it exists - empty object otherwise 
  var main = window.main = window.main || {}; 
 
  // setting up the global namespace - this will be loaded from within the bootstrap and accessible globally to all other namespaces 
  var globals = main.globals = { 
 		// properties

    // global methods
    getCurrentDate: function() { 
 			var currentTime = new Date();
			var month = currentTime.getMonth() + 1;
			var day = currentTime.getDate();
			var year = currentTime.getFullYear();
			
			return (year + "-" + month + "-" + day);
    } 
 
  }; 
 
})();
