mini pubrule
do not crash when there is no js files to translate