Added test for existance of $.browser to work with jquery 1.9 and later