ScalaJS result aggregation works