Palindrome In Javascript Without Function Meaning