I removed deprecated $.browser and replaced on navigator.userAgent
Replace using $.browser on navigator.userAgent
I also would also like to have this fixed, but when i looked at your code i noticed you did one thing wrong.
You changed indent so it is impossible to see any changes you actually made.
Diff shows every line has been changed.
I think that is because your PR will never be accepted.