code: function findMimeTypeAndVersion () {
  
        if (updaterMimeType !== void 0) {
          return updaterMimeType;
        }
  
        var activeXControlId = 'TokBox.otiePluginInstaller',
            installPluginName = 'otiePluginInstaller',
            unversionedMimeType = 'application/x-otieplugininstaller',
            plugin = navigator.plugins[activeXControlId] || navigator.plugins[installPluginName];
  
        installedVersion = -1;
  
        if (plugin) {
          // Look through the supported mime-types for the version
          // There should only be one mime-type in our use case, and
          // if there's more than one they should all have the same
          // version.
          var numMimeTypes = plugin.length,
              extractVersion = new RegExp(unversionedMimeType.replace('-', '\\-') +
                                                          ',version=([0-9a-zA-Z-_.]+)', 'i'),
              mimeType,
              bits;
  
  
          for (var i=0; i<numMimeTypes; ++i) {
            mimeType = plugin[i];
  
            // Look through the supported mimeTypes and find
            // the newest one.
            if (mimeType && mimeType.enabledPlugin &&
                (mimeType.enabledPlugin.name === plugin.name) &&
                mimeType.type.indexOf(unversionedMimeType) !== -1) {
  
              bits = extractVersion.exec(mimeType.type);
  
              if (bits !== null && versionGreaterThan(bits[1], installedVersion)) {
                installedVersion = bits[1];
              }
            }
          }
        }
        else if ($.env.name === 'IE') {
          // This may mean that the installer plugin is not installed.
          // Although it could also mean that we're on IE 9 and below,
          // which does not support navigator.plugins. Fallback to
          // using 'ActiveXObject' instead.
          try {
            plugin = new ActiveXObject(activeXControlId);
            installedVersion = plugin.getMasterVersion();
          } catch(e) {
          }
        }
  
        updaterMimeType = installedVersion !== -1 ?
                                  unversionedMimeType + ',version=' + installedVersion :
                                  null;
      }
docs: Work out the full mimeType (including the currently installed version) of the installer.