jQuery compatability for IE8