[jsinterp] Fix typo and cleanup regexes (closes #13134)