Group Array Of Objects By Value Javascript Compiler With Html