javascript: fix translator comment extraction in C-style comments
* src/x-javascript.c (comment_line_end): Add missing chars_to_remove
argument; all callers changed.
Reported by Illimar Tambek at: <http://savannah.gnu.org/bugs/?40573>.
* tests/xgettext-javascript-1: Add a test to extract translator comments.