Please, look at original, non-minified code. It `uses jQuery.browser.msie`. It needs to be replaced by `$sn.browser`.

And remove lines 2-12, they are just duplicates of the last stuff done in the first line. Whatsmore, this one does not contain condition to be ran only in MSIE.