Require JQuery asset if we have an onState image set