JavaScript string extraction support has been added in gettext 0.18.3. Thanks Aymeric Augustin for the review.