reorder browser user agent check to correctly identify chrome on os x