Leetcode Check Palindrome Using Javascript With Bootstrap Table