added JS multilanguage support