I've changed UA-sniffing to feature detection. Much better. :)