isPalindrome() and underscore flatten/uniq/each