How to use the Javascript Set() ES6 method