js for foreign languages (hack). todo: remove identical languages (controller)