Update palindrome.js