code: function(element, name) {
  
  			var instanceData = getInstanceDataByElement(element),
  				configElement;
  
  			if (instanceData) {
  
  				if (!instanceData.config) {
  					// <script type="text/x-config"> is used to store JSON data
  					configElement = $(element).find('script[type="text/x-config"]')[0];
  
  					// <script> tag supports .text property
  					if (configElement) {
  						instanceData.config = $.parseJSON(configElement.text);
  					}
  				}
  
  				if (!instanceData.config) {
  					return null;
  				} else if (typeof name === 'undefined') {
  					return instanceData.config;
  				} else if (name in instanceData.config) {
  					return instanceData.config[name];
  				} else {
  					return null;
  				}
  			}
  
  			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)