Updated jQuery version.
Replaced browser detection with media query