JS: Fix regex in JSDoc parsing. Fixes #1700