Migrate from $.browser to $.client since $.browser is deprecated

Bug: 66689
Change-Id: Id6d9d10614744c8d918cd4599d0a2b6cf30ac9cb