You can probably move this to the same file that `isFirefox` is defined in so other pages can use it.