Get unique values from JavaScript array

If its necessary to get from the JavaScript array unique values only: