remove $.browser which is deprecated in newer versions of jquery