Palindrome Number Leetcode Javascript Solutions