adding locale support (and tests) to BRJS filter