Update and rename removeDuplicates to removeDuplicatesMethod.js