Update palindrome-validator.js