Replaced $.browser references with a regex lookup on navigator.userAgent, since $.browser is deprecated in jQuery 1.9.