Fix JS test.