BLD-489: Fix JavaScript tests.