Remove the use of jQuery's is() function for jQuery < 1.6 support.