added logic on choose the jquery based on browser.