Node Js Check If String Is Palindrome