Added JS tests on Translator, to test multiple locales (fixed indentation problem with mixed tab / space)