javascript: added proper string translation