Javascript Palindrome test output of a number