Fix jquery tests.