[javascript] How do you use a variable in a regular expression?