extract comments from js files to pot file

Developers might add comments related to i18n as comments just before
the call to the gettext function. Those are now being extracted and
added to the generated pot file.

Note: this relies on the ability of the pofile library to write
comments, which is not released, yet.