refactor isFirefoxUpToDate