fix for some javascript translations