Fixing JS tests.