QUnit tests fail

Currently the QUnit tests fail when a widget doesn't have js. Assigning to @bp323 for investigation.