$.browser is not supported by jQuery 1.9+. Fixes #1