js: check palindrome, check substring, check equal, fibonacci