Javascript Unique Array Of Objects Php Download