Get Unique Array Javascript W3schools Dom