function getBrowserName(browserInfo) {
  if (browserInfo.firefox) {
    return 'firefox';
  }