passing js tests