code: function(element, name) {
  
  			var instanceData = getInstanceDataByElement(element);
  			var moduleConfig = null;
  
  			if (instanceData && instanceData.config) {
  				// Check if we've already read the configurations before
  				moduleConfig = instanceData.config;
  			} else {
  				// Read the special script element that stores module configuration in the markup
  				var configElement = Box.DOM.query(element, 'script[type="text/x-config"]');
  
  				// <script> tag supports .text property
  				if (configElement) {
  					try {
  						moduleConfig = JSON.parse(configElement.text);
  					} catch (exception) {
  						error(new Error('Module with id ' + element.id + ' has a malformed config.'));
  					}
  				}
  
  				// Cache the configurations for performance, if the module instance has been created
  				if (instanceData) {
  					instanceData.config = moduleConfig;
  				}
  			}
  
  			if (!moduleConfig) {
  				return null;
  			} else if (typeof name === 'undefined') {
  				return moduleConfig;
  			} else if (name in moduleConfig) {
  				return moduleConfig[name];
  			} else {
  				return null;
  			}
  
  		}
docs: Returns any configuration information that was output into the page
  for this instance of the module.
  @param {HTMLElement} element The HTML element associated with a module.
  @param {string} [name] Specific config parameter
  @returns {*} config value or the entire configuration JSON object
  if no name is specified (null if either not found)