isSafari = function() {
    return navigator.userAgent.indexOf('Safari') != -1 &&
        navigator.userAgent.indexOf('Chrome') == -1;
  }
Instantiates the DB connection (re-entrant).
@return {!IThenable<!lf.Database>}