extract-pot: Fix for 'Unsupported language: JS' error

Call of this binary without parameters on nunjucks app leads to error.
This discussed in zaach/jsxgettext#47 and changes proposed there helps.
Thanks for updating this!