Added FirefoxOS detection function.