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

This change comes from HitmanInWis's issue at https://github.com/harvesthq/chosen/issues/1471

It removes the use of the jQuery is() function, which is different in jQuery < 1.6 so that a wider range of jQuery versions are support.