Fixes jQuery problems in IE8