Group Array By Field Javascript Editor W3schools