Use $.client instead of $.browser.

$.browser has apparently been deprecated for ages and no longer exists on
the jQuery version that 1.24(alpha) ships with, so we can't rely on it.

Change-Id: I658a1b6ff9486c2eeb30a93879ef4e8057c5a6eb