How To Create A Palindrome In Javascript