Fix Qunit and connect plugin issues