Trick to remove duplicates from an array easily in javascript

Published --