Group Array Javascript Example External