Replace the "Firefox Mobile" hack with a "wild fixup" pattern
Replace the "Firefox Mobile" hack with a "wild fixup" pattern

Originally added in 18b85435f2. This simplifies the code and reduces
the number of regexes/patterns executed.

wikimedia/jquery-client