JS for translation UI in forms