Fix jQuery unit test.