Translation in JavaScript popup