Avoid deprecated $.browser object.