Group Array By Field Javascript Editor In Browser