Fix split invocation in js tests.