added JS for translation