Fixed #23788 -- Used new JavaScript support in recent gettext

JavaScript string extraction support has been added in gettext
0.18.3.
gettext is covered by "native" extraction capability, while there were not tests for --keyword options in the JS part, I just wanted to extend a bit the test coverage by adding at least one call from the --keyword's.