Largest palindrome product in javascript