Hmm, not sure if it can be done in a way that will still make gettext.js generic for other extractors, but if you have an idea, feel free to try :) Will take a look when I'm back.