speed up js tests a bit