Palindrome Program Using Javascript Innerhtml