replaces outdated jQuery.browser call with feature detection

Fixes taitems/jQuery.Gantt#69.