Solving issue with jQuery on IE9