A simple way to check if a string is a keyword or reserved keyword in JavaScript