Print properly the lang variables - refs #7279
Change the plugin JS structure - refs #7279
Remove unnecessary texts array - refs 7279