fixing broken jquery plugins by implementing $.browser in newer jquery version