Fixing compatability with jquery 1.10.2 by replacing $.browser with $.support