to check if a sequence of char is a word.
First reference this script, using this line.
<script src="https://isthisaword.bloggernepal.com/words.js"></script>
file size: 4.6 MB
Then call isThisAWord(word), to check
let response = isThisAWord("Time");
if(response){
//is word
} else {
//is not a word
}