jsxgettext uses acorn for parsing JavaScript and acorn doesn't recognize `const` keywords, unfortunately. We could alternatively find/replace `const` with `var` before processing.