Javascript Remove Duplicate Objects From Array Based On Property