marginally improved regex to detect firefoxos