code: function setupCustomPlugin(name, plugin) {
          plugin.active = true;
          plugin.params = EXTEND({}, plugin.params || {});
          plugin.name = name;
  
          return plugin;
      }
docs: Setup and enable a custom plugin
  
  @param {String} plugin name
  @param {Object} custom plugin
  @return {Array} enabled plugin