Javascript frontend translator.html now is working